package service;

import Annotation.*;
import dao.UserDao;

@ClassAnnotation("UserService")
@Scope()
public class UserServiceImpl implements UserService{
    @Autowired("userDaoImpl")
    private UserDao userDao;

    @Initialization
    public void init(){
        System.out.println("正在初始化service。。。");
    }
    public void getUser() {
        userDao.getUser();
    }
    @Destroy
    public void dele(){
        System.out.println("准备销毁service");
    }
}
